/*
	Copyright (c) 2017-11-15 fuqiyang <970617164@qq.com> libpear
*/

#ifdef __cplusplus
#define extern "C" {
#endif


typedef void (*param_callback)(void *);


typedef struct {

	const char *str;

	param_callback func;

}libpear_option_info_t;


void pear_getopt(int argc, char **argv, libpear_option_info_t *info, int info_count);


#ifdef __cplusplus
}
#endif

